package student;

import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;

public class Student implements Serializable {
	// 和表s_student对应
	/**
	 * 
	 */
	private static final long serialVersionUID = -7642230458288517025L;

	private long stuno;
	private String sname, qq, sex, address, fromcity, pass;
	private String telephone, wechat, grade, idcardpath;
	private long gradeId;
	private Date enterDate, birthday;

	public String getIdcardpath() {
		return idcardpath;
	}

	public void setIdcardpath(String idcardpath) {
		this.idcardpath = idcardpath;
	}

	public long getStuno() {
		return stuno;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Student() {
	}

	public void setStuno(long stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getWechat() {
		return wechat;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", qq=" + qq + ", sex=" + sex + ", address=" + address
				+ ", fromcity=" + fromcity + ", pass=" + pass + ", telephone=" + telephone + ", wechat=" + wechat
				+ ", grade=" + grade + ", enterDate=" + enterDate + ", birthday=" + birthday + "]";
	}

	public String toShow() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", qq=" + qq + ", sex=" + sex + ", address=" + address
				+ ", fromcity=" + fromcity + ", pass=" + pass + ", telephone=" + telephone + ", wechat=" + wechat
				+ ", gradeid=" + gradeId + "]";
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public long getGradeId() {
		return gradeId;
	}

	public void setGradeId(long gradeId) {
		this.gradeId = gradeId;
	}

	public Date getEnterDate() {
		return enterDate;
	}

	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

}
